package com.example.listgame;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.widget.ProgressBar;
import android.widget.Toast;

public class LoadingActivity extends AppCompatActivity {

    private ProgressBar mPgb;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_loading);
        mPgb = findViewById(R.id.pgb);
        mPgb.incrementProgressBy(1);
        if (mPgb.getProgress() == 100){
            Toast.makeText(this,"1",Toast.LENGTH_SHORT).show();
        }
    }
}
